package com.gwj.rpc.Controller;

import com.gwj.rpc.common.Calculator;
import com.gwj.rpc.service.CalculatorRemoteImpl;
import org.slf4j.LoggerFactory;

import org.slf4j.Logger;

public class ClientController {
    private static Logger logger = LoggerFactory.getLogger(ClientController.class);

    public static void main(String[] args) {
        Calculator calculator = new CalculatorRemoteImpl();
        int result = calculator.add(1, 2);
        logger.info("result is {}", result);
    }
}